﻿using Abp.Events.Bus;
using Abp.Runtime.Session;
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;

namespace AbpProjectTemplate.Components.Payments
{
    public abstract class PaymentApiBase
    {
        
        public IEventBus EventBus { get; set; }
        public IAbpSession AbpSession { get; set; }
        public IHttpContextAccessor HttpContextAccessor { get; set; }
        protected Dictionary<string, decimal> _dicDebugOrderAmounts = new Dictionary<string, decimal>();
        public PaymentApiBase() 
        {
            this.EventBus = NullEventBus.Instance;
            this.AbpSession = NullAbpSession.Instance;
        }
    }
}
